public interface Stack<T> {
    T pop();

    boolean isEmpty();

    void push(T element);

    T peek();

    int getNumberOfElements();

    T getElementAt(int index);
}
